public class HomeWork10_05{
    public static void main(String[] args){
        HollowDiamond hd = new HollowDiamond();
        hd.hollowDiamond(7);
    }
}

class HollowDiamond{
    public void hollowDiamond(int line){
        int tag = 2;
        int space1Num = (line / 2) * tag;
        int starNum = tag;
        
        for(int i = 1; i <= line; i++){
            //print space
            for(int space1 = 2; space1 <= space1Num; space1 += 2){
                System.out.print("  ");
            }
            space1Num += -tag;
            
            //print star and space
            for(int star = 2; star <= starNum; star += 2){
                if(star == 2 || star == starNum){
                    System.out.print("**");
                }else{
                    System.out.print("  ");
                }
            }
            starNum += tag * 2;
            
            if(i == line/2){
                tag = -tag;
            }
            System.out.println();
        }
    }
}